
import 'package:json_annotation/json_annotation.dart';
import 'package:xsdk_flutter/xsdk/xsdk_flutter_package.dart';


//定义生成的文件 flutter pub run build_runner build --delete-conflicting-outputs
part 'rb_response.g.dart';

@JsonSerializable(explicitToJson: true)
class RBBaseResponse extends XResponse{
   dynamic ResultInt;
   String? ResultString;
   String? msg;
   String? code;

   RBBaseResponse({this.ResultInt, this.ResultString, this.msg, this.code});

   //添加固定格式
   factory RBBaseResponse.fromJson(Map<String, dynamic> json) => _$RBBaseResponseFromJson(json);
   Map<String, dynamic> toJson() => _$RBBaseResponseToJson(this);
}